home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d17
/
dump0891.arc
/
DUMP0891.DOC
< prev
next >
Wrap
Text File
|
1991-08-06
|
2KB
|
55 lines
DUMPSCR
-------
This is similar to the DOS external command GRAPHICS. After
install, you can dump CGA, EGA, VGA or HERCULES graphic screen to
HP, Epson or IBM compatible printer by press the Shift-PrintScreen
key. Since the program is a TSR, it should be as small as
possible. Safety check is at minimum since the program is used
only occasionally. I have compiled the program to the following
names:
CGA2HP, EGA2HP, VGA2HP, HER2HP, CGA2EP, EGA2EP, VGA2EP, HER2EP.
The first three letters stand for screen mode: CGA (640x200), EGA
(640x350), VGA (640x480) or HERCULES (720x348). The last 2 letters
for printer: HP=Hewlett-Packard and EP=Epson/IBM. Run one of them
according to your hardware.
You should press SHIFT-PRINTSCREEN only when you are in the correct
graphics mode. Warning: in case of wrong printer or wrong screen
mode (CGA2?? works fine in CGA 320x200 mode and EGA2?? work also in
VGA mode), unexpected printout will happen. I have test them on
Deskjet 500, Laserjet II, Laserjet III, Epson LQ850 and TOSHIBA
P351 in IBM emulation mode.
Despite many of screen capture programs (including win3) available,
all of them have their limitations. Here are what in my program:
* Picture ratio: Screen and printer have different ratio
(length/width). For CGA mode, I print two dots for every one
vertical dots on screen. VGA has the best ratio (about 1.32).
* Picture resolution: Lower resolution mode are used on printers,
which usually have much higher resolution than screen.
* Page centering: Can be modified only with source code.
* Colors: Most commercial screen dump program use shades to
represent color. Sometimes it is better to print background as
white and any other color as black on printer (one of motivation of
my program). Since it is unreliable to detect background, I simply
use black as background color.
Please upload this program to any BBS in the original form. The
*.COM programs are free. If you can contribute with $10, I will
send you program source code listing and compiler instructions
(Turbo C, reads and writes directly to graphics card and printer).
I can also send it through internet e-mail address if you want.
With $12, I will send the code on disk (5-1/4 or 3-1/2).
Yijun Ding, 348 S. Pacific Ave, Pittsburgh PA 15224
(412)361-0858